package openase.audiosearch.comm.response.encoder;

import java.nio.ByteBuffer;

import openase.audiosearch.comm.ByteBufferUtils;
import openase.audiosearch.comm.response.ResponseType;
import openase.audiosearch.comm.response.UnknownRequest;


public class UnknownRequestResponseEncoder implements ResponseEncoder<UnknownRequest> {

	public ByteBuffer encode(UnknownRequest response) {
		ByteBuffer buf = ByteBufferUtils.newByteBuffer(ResponseType.UNKNOWN_REQUEST.getId());
		buf.position(buf.limit());
		return buf;
	}
}
